<?php
session_start();
include('connection.php');


if(isset($_SESSION['username']) || isset($_SESSION['password']))
{
	$studentId=$_GET['id'];
$sql= "SELECT * FROM `student information` WHERE `student_id`= '$studentId'";
	$res=mysql_query($sql,$con);
	$row=mysql_fetch_array($res);
	
	?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">

    <title>Starter Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.css" rel="stylesheet">

    <!-- Custom styles for this template -->
   

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    
       <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>

         <script src="js/bootstrap.js"></script>  
         
         <script src="datepicker/js/bootstrap-datepicker.js"></script>
                 <script type="text/javascript">


</script>

         <link href="datepicker/css/datepicker.css" rel="stylesheet"/>
         <link href="datepicker/less/datepicker.less" rel="stylesheet" />
      

    
    
  </head>

  <body>
 <?php include('addminmenu.php'); ?>

    
    <div class="container" style="margin-top:70px;">
		<div class="col-sm-9">
<form class="form-horizontal" role="form">
  <div class="form-group">
    <label for="" class="col-sm-2 control-label">Student ID</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="" placeholder="Student ID" readonly value="<?php echo $row['student_id']; ?>">
    </div>
  </div>
 <div class="form-group">
    <label for="" class="col-sm-2 control-label">Batch No.</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="" placeholder="Batch No." disabled="disabled">
    </div>
  </div>
  <div class="form-group">
    <label for="" class="col-sm-2 control-label">Student Name</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="" placeholder="Student Name" disabled="disabled" value="<?php echo $row['full_name']; ?>">
    </div>
  </div>


  <div class="form-group">
    <label for="" class="col-sm-2 control-label">Father Name</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="" placeholder="Father Name" disabled="disabled" value="<?php echo $row['father_name']; ?>" >
    </div>
  </div>
  <div class="form-group">
    <label for="" class="col-sm-2 control-label">Course Name</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="" placeholder="Course Name" disabled="disabled"  value="<?php echo $row['course_name']; ?>">
    </div>
  </div>

  <div class="form-group">
    <label for="" class="col-sm-2 control-label">Collected Fee</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="" placeholder="10000" >
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-primary">Submit</button>
    </div>
  </div>
</form>
</div>
 <div class="col-sm-3">
      <h4>Totel Fees : 25000</h4>
     <h4>Fee Submisstion Detail</h4>
        <div><b>50000</b> On 21/12/2012</div>
        <div><b>50000</b> On 21/12/2012</div>
        <div><b>50000</b> On 21/12/2012</div>
        <h4>Remaining Fees : 15000</h4>
    </div>
      



    </div><!-- /.container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->

  
     
<script type="text/javascript" src="ajax/Ajaxfileupload-jquery-1.3.2.js" ></script>
<script type="text/javascript" src="ajax/ajaxupload.3.5.js" ></script>
<link rel="stylesheet" type="text/css" href="ajax/Ajaxfile-upload.css" />

   

   
     

  </body>
</html>
<?PHP

}
else
{	header("location:index.php");
}
?>
